package br.com.sigad.persistencia.dao;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;




public final class Emf {

	private static EntityManagerFactory entityManagerFactory;

	public static EntityManagerFactory get() {
		if (entityManagerFactory == null) {
			entityManagerFactory = Persistence
					.createEntityManagerFactory("sigad");
		}

		return entityManagerFactory;
	}

	private Emf() {
	}
}
